<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>我的竞猜</title>
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link rel="icon" href="img/favicon.ico" mce_href="img/favicon.ico" type="image/x-icon">
	<link rel="stylesheet" type="text/css" href="css/commonality.css"/>
	<link rel="stylesheet" type="text/css" href="css/userCenter1.css"/>
	<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/layer.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<div class="pc" style="display: none;">
		<!--头部导航菜单-->
		<div class="top">
			<div class="top_div">
				<a class="logo" href="index.html"><img src="img/public/logo.png"/></a>
				<ul><li><a href="index.html">首页</a></li>
					<li><a href="game.html">游戏</a></li>
					<li><a href="edg.html">战队</a></li>
					<li><a href="guide.html">办赛指南</a></li>
					<li><a href="userCenter.html">注册/登录</a></li>
					<li><a href="javascript:;">创建战队</a></li>
				</ul>
			</div>
		</div>
		
		<!--主体-->
		<div class="main dis_block">

			<!--主题海报-->
			<div class="banner">
				<div class="banner_bg banner_bg1"></div>
				<div class="banner_bg banner_bg2"></div>
				<div class="banner_bg banner_bg3"></div>
				<div class="banner_bg banner_bg4"></div>
				<div class="banner_bg banner_bg5"></div>
			</div>
			
			<!--游戏新闻-->
			<div class="GamesList">
				<div class="GamesList_div">
					
				</div>
			</div>
			
			<!--直播-->
			<div class="live" id="ambassador">
				<p>赛事标题</p>
				<div class="live_div">
					<!--直播视频-->
					<div class="sinatv">
						
					</div>
					<!--赛事竞猜-->
					<div class="guess">
						
					</div>
				</div>
			</div>
		
			<!--赛事奖金-->
			<div class="bonus">
				<div class="bonus_div">
					<!--战队榜-->
					<div class="edg">
						
					</div>
					<!--赛事榜-->
					<div class="Competition">
						
					</div>
				</div>
			</div>
		
			<!--全场最佳-->
			<div class="bestOfAll">
				<div class="bestOfAll_div">
					<!--战队榜-->
					<div class="edg">
						
					</div>
					<!--赛事榜-->
					<div class="Competition">
						
					</div>
				</div>
			</div>
		
			<!--赛事赛程-->
			<div class="schedule">
				<div class="schedule_div">
					<!--战队榜-->
					<div class="edg">
						
					</div>
					<!--赛事榜-->
					<div class="Competition">
						
					</div>
				</div>
			</div>
		
			<!--赛事介绍-->
			<div class="Introduction">
				<div class="Introduction_div">
					<!--战队榜-->
					<div class="edg">
						
					</div>
					<!--赛事榜-->
					<div class="Competition">
						
					</div>
				</div>
			</div>
		
			<!--赛事标题-->
			<div class="EventTitle">
				<div class="EventTitle_div">
					<!--战队榜-->
					<div class="edg">
						
					</div>
					<!--赛事榜-->
					<div class="Competition">
						
					</div>
				</div>
			</div>
			
			<!--联系我们-->
			<div class="about" id="about">
				<div class="about_main">
					<p class="about_title">联系我们</p>
					<p class="about_describe">我们总是乐于帮助你，请选择最适合你的方式联系我们！ </p>
					<div class="about_address">
						<p style="margin-top: 8px;">总址：上海市闵行区虹井路288号B座703室</p>
						<p>分部：广州市天河区广州信息港方圆E时光西座28楼</p>
						<p>邮编：510000</p>
						<p>电话：+86 13901779476</p>
						<p>&nbsp;</p>
						<p>网址：www.juyouxiao.com</p>
						<p>E-mail：hr@tianchangtech.com</p>
					</div>
					
					
					<div class="toastInfo"><span>提醒</span></div>
				</div>
				<ul class="foot">
					<li><a href="index.html">首页</a></li>
					<li><a href="javascript:;">校园大使</a></li>
					<li><a href="javascript:;">关于我们</a></li>
				</ul>
				<p class="provider">京公网安备11010802023605号</p>
			</div>
		</div>
		
		<!--点击回到顶部-->
		<a id="com_d" style="display: none;"></a>
	</div>
	
	<div class="mobile fix" style="display: block;">
		<!--底部 导航 菜单-->
		<div class="top">
			<ul><li><a href="index.html">
						<img src="img/public/icon_navigation_1.png"/>
						<p>首页</p>
					</a>
				</li>
				<li><a href="javascript:;">
						<img src="img/public/icon_navigation_2.png"/>
						<p>看帖</p>
					</a>
				</li>
				<li><a href="javascript:;"><img class="increase" src="img/public/icon_navigation_3.png"/></a></li>
				<li><a href="edg.html">
						<img src="img/public/icon_navigation_4.png"/>
						<p>战队</p>
					</a>
				</li>
				<li><a id="_Usercenter">
						<img src="img/public/icon_navigation_5.png"/>
						<p>我的</p>
					</a>
				</li>
			</ul>
		</div>
		
		<!--填充背景颜色容器-->
		<div class="vessel scrollable">
			<!--暂无信息-->
			<p class="noGame dis_none">暂无消息~</p>
			
			<!--有信息-->
			<div class="myquizzes fix">
				<!--<div class="module fix">
					<div class="above shadow2 fix">
						<div class="line">
							<span class="spanLeft">赛事主题</span>
							<p class="describe apostrophe">2018-06-09 荒野行动第三赛季黄金超级奖杯</p>
						</div>
						<div class="line">
							<span class="spanLeft">竞猜项</span>
							<p class="describe apostrophe">吃鸡队伍的击杀数为单数还是双数</p>
						</div>
						<div class="line">
							<span class="spanLeft">选择</span>
							<p class="describe apostrophe">单</p>
						</div>
						<div class="line">
							<span class="spanLeft">投入彩豆</span>
							<p class="describe apostrophe">100</p>
						</div>
						<div class="line">
							<span class="spanLeft">回馈</span>
							<p class="describe">0</p>
						</div>
						<div class="line">
							<span class="spanLeft">结果</span>
							<p class="describe apostrophe">未结束</p>
						</div>
					</div>
					<button class="share recruit bgCondition1" type="button">
						<img src="img/userCenter/icon_myquizzes_share.png"/>&nbsp;分享
					</button>
				</div>-->
			</div>
		</div>
	</div>
	
	<script src="js/sUserAgent.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		//循环 竞猜
		function module(){
			var html="";
			var statu="";
			for(var i=1; i<=5; i++ ){
				if ( i==1 ) {
					statu = "未开始";
				} else if ( i==2 ) {
					statu = "即将开始";
				} else if ( i==3 ) {
					statu = "进行中/比赛中";
				} else if ( i==4 ) {
					statu = "已结束";
				} else if ( i==5 ) {
					statu = "已取消";
				}
				html += '<div class="module fix">'+
							'<div class="above shadow2 fix">'+
								'<div class="line">'+
									'<span class="spanLeft">赛事主题</span>'+
									'<p class="describe apostrophe">2018-06-0'+i+' 荒野行动第三赛季黄金超级奖杯</p>'+
								'</div>'+
								'<div class="line">'+
									'<span class="spanLeft">竞猜项</span>'+
									'<p class="describe apostrophe">'+ statu +'吃鸡队伍的击杀数为单数还是双数</p>'+
								'</div>'+
								'<div class="line">'+
									'<span class="spanLeft">选择</span>'+
									'<p class="describe apostrophe">单</p>'+
								'</div>'+
								'<div class="line">'+
									'<span class="spanLeft">投入彩豆</span>'+
									'<p class="describe apostrophe">100</p>'+
								'</div>'+
								'<div class="line">'+
									'<span class="spanLeft">回馈</span>'+
									'<p class="describe">0</p>'+
								'</div>'+
								'<div class="line">'+
									'<span class="spanLeft">结果</span>'+
									'<p class="describe apostrophe">'+ statu +'</p>'+
								'</div>'+
							'</div>'+
							'<button class="share recruit bgCondition1" type="button">'+
								'<img src="img/userCenter/icon_myquizzes_share.png"/>&nbsp;分享'+
							'</button>'+
						'</div>';
			}
			$(".myquizzes").append(html);
			
			$(".recruit").on("click",function(){
				layer.msg("此功能暂未开放，可点击右上角进行分享");
			});
		}
		module();
	</script>
	
	<!--微信分享-->
	<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> 
	<script>
//		url=location.href;
//		$.ajax({
//			type : "get",
//			url : "http://xxxxxxxxx/jssdk.php?url="+url,//替换网址，xxx根据自己jssdk文件位置修改 
//			dataType : "jsonp",
//			jsonp: "callback",
//			jsonpCallback:"success_jsonpCallback",
//			success : function(data){
//				wx.config({
//					appId: data.appId,
//					timestamp: data.timestamp,
//					nonceStr: data.nonceStr,
//					signature: data.signature,
//					jsApiList: [
//						"onMenuShareTimeline", //分享给好友 
//						"onMenuShareAppMessage", //分享到朋友圈 
//						"onMenuShareQQ", //分享到QQ
//						"onMenuShareWeibo" //分享到微博 
//					]
//				});
//			},
//		    error:function(data){
//		    	alert("连接失败！");
//		    }
//		});
//		wx.ready(function (){
//			var shareData = {
//					title: '标题',
//					desc: '简介',//这里请特别注意是要去除html
//					link: '链接',
//					imgUrl: '题图'
//				};
//			wx.onMenuShareAppMessage(shareData);
//			wx.onMenuShareTimeline(shareData);
//			wx.onMenuShareQQ(shareData);
//			wx.onMenuShareWeibo(shareData);
//		}); 
	</script>
	
	<script type="text/javascript">
		// 微信分享
//  	var wx = require('wechat-sdk');
//	    rewardsResultService.getWechatInfo().then(function(data) {
//	        var conf = data;
//	        wx.config({
//	        debug: false,
//	        appId: 'wx34e783920b37ee91',
//	        timestamp: conf.timestamp,
//	        nonceStr: conf.noncestr,
//	        signature: conf.signature,
//	        jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline','onMenuShareQQ']
//	        });
//	        configWeChatInterface();
//	    });
// 
//	    var iconUrl = 'http://'+location.host+'/images/icon-200yuan.png';
//	    function configWeChatInterface() {
//	        //分享给朋友
//	        wx.onMenuShareAppMessage({
//		        title: '一言不合就发红包，金蛛送您200元红包！',
//		        desc: '一言不合就发红包，金蛛送您200元红包！',
//		        link: location.href,
//		        imgUrl: iconUrl,
//		        type: 'link',
//		        success: function() {
//		        	// alert('share success');
//		        },
//		        cancel: function() {
//		 
//		        }
//	        });
//	        //分享到朋友圈
//	        wx.onMenuShareTimeline({
//		        title: '一言不合就发红包，金蛛送您200元红包！',
//		        link: location.href, // 分享链接
//		        imgUrl: iconUrl
//	        });
//	        //分享到QQ
//	        wx.onMenuShareQQ({
//		        title: '一言不合就发红包，金蛛送您200元红包！', // 分享标题
//		        desc: '一言不合就发红包，金蛛送您200元红包！', // 分享描述
//		        link: location.href, // 分享链接
//		        imgUrl: iconUrl, // 分享图标
//		        success: function () {
//		        	// 用户确认分享后执行的回调函数
//		        },
//		        cancel: function () {
//		       		// 用户取消分享后执行的回调函数
//		        }
//	        });
//	    }
	</script>
</body>
</html>